package com.wsjc.manager.entity;

import java.util.Date;

/**
 * 
 * @Description 角色 
 * @ClassName   WjRole 
 * @Date        2018年7月22日 下午6:04:18 
 * @Author      liyang 
 *
 */
public class WjRole {
	
	/** 主键 */
    private String id;

    /** 角色名称 */
    private String name;

    /** 角色描述 */
    private String describe;

    private Date createTime;

    public WjRole(String id, String name, String describe, Date createTime) {
        this.id = id;
        this.name = name;
        this.describe = describe;
        this.createTime = createTime;
    }

    public WjRole() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe == null ? null : describe.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", describe=").append(describe);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}